GoXam for WPF v3
DoLinkPortsChanged Method (GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>)
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoLinkPortsChanged Method
This should be called when a link data's connected node or port, either "from" or "to", may have changed.
Syntax
public void DoLinkPortsChanged( 
   LinkType linkdata
)

Parameters

linkdata
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If a link data object implements System.ComponentModel.INotifyPropertyChanged and if the key is a simple property on the data as reflected by the value of LinkFromPath, LinkToPath, LinkFromParameterPath, or LinkToParameterPath, the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindFromNodeKeyForLink, FindToNodeKeyForLink, FindFromParameterForLink, or FindToParameterForLink has changed.

This raises Changed event(s) with a value of ModelChange.ChangedLinkFromPort and/or ModelChange.ChangedLinkToPort.

See Also

Reference

GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Members